package com.example.mobile2021606158zl0521;

public class News {
    private  int id;
    private String title;
    private String image;
    private String content;

    public News(int id,String title,String image,String content){
        this.id=id;
        this.title=title;
        this.image=image;
        this.content=content;
    }
    public int getId(){
     return id;
    }
    public void setId(int id){
        this.id=id;
    }
    public String getTitle(){
        return title;
    }
    public String getContent(){
        return content;
    }
}

